package com.xuxk.project.library.controller.api;

import com.xuxk.project.library.feign.OauthUserFeignClient;
import com.xuxk.project.library.util.PageInfoVo;
import com.xuxk.project.library.util.ResultBodyVo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

/**
 * @author 许孝康
 * @date 2020/8/3
 * @company 橙云科技有限公司
 */
@RequestMapping("/api/user")
@RestController
public class UserController {

    @Resource
    OauthUserFeignClient userFeignClient ;


   public ResultBodyVo xuxkUsers(Integer pageNum, Integer pageSize, HttpServletRequest request){

       return new ResultBodyVo(userFeignClient.xuxkUsers(pageNum,pageSize,request));
    }


}
